<template>
  <h1>El-布局组件</h1>
  <el-row :gutter="10">
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
  </el-row>
  <el-row :gutter="10">
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="4"><img src="2024.png"></el-col>
  </el-row>
  <el-row>
    <el-col :span="4"><img src="2024.png"></el-col>
    <el-col :span="8"><img src="2024.png"></el-col>
    <el-col :span="12"><img src="2024.png"></el-col>
  </el-row>

  <el-row>
    <el-col :span="12" :offset="6"><img src="2024.png"></el-col>
  </el-row>

  <el-row>
    <el-col v-for="n in 8" :span="3" style="border: 1px solid #000;">{{n}}</el-col>
  </el-row>
<!--布局嵌套-->
  <el-row>
    <el-col :span="12" style="border: 1px solid #000;">左侧</el-col>
    <el-col :span="12">
      <el-row>
        <el-col :span="6" style="border: 1px solid #000;">1</el-col>
        <el-col :span="6" style="border: 1px solid #000;">2</el-col>
        <el-col :span="6" style="border: 1px solid #000;">3</el-col>
        <el-col :span="6" style="border: 1px solid #000;">4</el-col>
      </el-row>
    </el-col>
  </el-row>
</template>

<script setup>

</script>

<style scoped>

</style>